<template>
  <el-dialog
    :close-on-click-modal="false"
    :show-close="false"
    title="详情"
    :visible.sync="isDetail"
  >
    <div class="table-data">
      <div class="user-info-item">
        <span>提现序号：</span>
        <span>{{form.settle_sn}}</span>
      </div>
      <div class="user-info-item">
        <span>提现商户：</span>
        <span>{{form.shop_name}}</span>
      </div>
      <div class="user-info-item">
        <span>提现金额：</span>
        <span>{{form.amount}}</span>
      </div>
      <div class="user-info-item">
        <span>实际结算金额：</span>
        <span>{{form.real_amount}}</span>
      </div>
      <div class="user-info-item">
        <span>申请提现时间：</span>
        <span>{{form.create_time}}</span>
      </div>
      <div class="user-info-item">
        <span>打款时间：</span>
        <span>{{form.apply_time}}</span>
      </div>
      <div class="user-info-item">
        <span>提现银行账号：</span>
        <span>{{form.bank_num}}</span>
      </div>
      <div class="user-info-item">
        <span>持卡人姓名：</span>
        <span>{{form.member}}</span>
      </div>
      <div class="user-info-item">
        <span>运营审核人：</span>
        <span>{{form.business_admin_name}}</span>
      </div>
      <div class="user-info-item">
        <span>运营审核时间：</span>
        <span>{{form.business_time}}</span>
      </div>
      <div class="user-info-item">
        <span>运营拒绝原因：</span>
        <span>{{form.business_reject_reason}}</span>
      </div>
      <div class="user-info-item">
        <span>运营审核意见：</span>
        <span>{{form.business_remark}}</span>
      </div>
      <div class="user-info-item">
        <span>财务审核人：</span>
        <span>{{form.finance_admin_name}}</span>
      </div>
      <div class="user-info-item">
        <span>财务审核时间：</span>
        <span>{{form.finance_time}}</span>
      </div>
      <div class="user-info-item">
        <span>财务拒绝原因：</span>
        <span>{{form.finance_reject_reason}}</span>
      </div>
      <div class="user-info-item">
        <span>财务审核意见：</span>
        <span>{{form.finance_remark}}</span>
      </div>
      <div class="user-info-item">
        <span>实际打款金额：</span>
        <span>{{form.real_amount}}</span>
      </div>
    </div>
    <span slot="footer" class="dialog-footer">
      <el-button @click="$emit('closeDialog')" size="small">取消</el-button>
    </span>
  </el-dialog>
</template>

<script lang="ts">
import { Component, Vue, Prop, Provide } from "vue-property-decorator";
import settlementApi from "@/api/settlement"
@Component({
  components: {}
})
export default class DetailDialog extends Vue {
  // 属性或参数中使用 ！：表示强制解析（告诉typescript编译器，这里一定有值），常用于vue-decorator中的@Prop
  @Prop(Boolean) isDetail!: boolean;
  @Provide() dateTime: any = [];
  @Prop(Object) form!: {};
  @Provide() rules: any = {};
  created() {
  }
}
</script>

<style lang="scss" scoped>
.form-box {
  .el-input,
  .el-select {
    width: 200px !important;
  }
}
</style>
